package com.lc.index.service.impl;


import java.util.List;
import java.util.Arrays;
import java.util.ArrayList;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lc.index.common.enums.ValiFlag;

import com.lc.index.mapper.UsersMapper;
import com.lc.index.domain.Users;
import com.lc.index.service.UsersService;

/**
 * 存储用户基本信息Service业务层处理
 * 
 * @author autoGen
 * @date 2025-03-12
 */
@Service
public class UsersServiceImpl extends ServiceImpl<UsersMapper,Users> implements UsersService
{


    /**
     * 批量删除存储用户基本信息
     * 
     * @param ids 需要删除的存储用户基本信息主键
     * @return 结果
     */
    @Transactional
    @Override
    public int deleteUsersByIds(Integer [] ids)
    {
        return baseMapper.deleteBatchIds(Arrays.asList(ids));
    }

    /**
     * 删除存储用户基本信息信息
     * 
     * @param id 存储用户基本信息主键
     * @return 结果
     */
    @Transactional
    @Override
    public int deleteById(Long id)
    {
        return baseMapper.deleteById(id);
    }
}
